package net.eearley.redpoint.app;

import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;

import net.eearley.redpoint.app.base.IConfigurator;

/**
 * The Class SampleConfigurator.
 */
public class SampleConfigurator implements IConfigurator {

	/**
	 * Instantiates a new sample configurator.
	 */
	public SampleConfigurator() {

	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see net.eearley.redpoint.app.IConfigurator#getHorses()
	 */
	public List<Horse> getHorses() {
		List<Horse> horseList = new LinkedList<Horse>();
		horseList.add(new Horse(1, "That Darn Gray Cat", 5, true));
		horseList.add(new Horse(2, "Fort Utopia", 10, false));
		horseList.add(new Horse(3, "Count Sheep", 9, false));
		horseList.add(new Horse(4, "Ms. Traitor", 4, false));
		horseList.add(new Horse(5, "Real Princess", 3, false));
		horseList.add(new Horse(6, "Pa Kettle", 5, false));
		horseList.add(new Horse(7, "Gin Stinger", 6, false));
		return horseList;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see net.eearley.redpoint.app.IConfigurator#getInitialDenoms()
	 */
	public Inventory getInitialDenoms() {
		Map<Denomination, Integer> map = new TreeMap<Denomination, Integer>();
		map.put(Denomination.SINGLE, 10);
		map.put(Denomination.FIVE, 10);
		map.put(Denomination.TEN, 10);
		map.put(Denomination.TWENTY, 10);
		map.put(Denomination.HUNDRED, 10);
		Inventory inventory = new Inventory(map);
		return inventory;
	}

}
